package com.intretech.tj.mqtt.entity;

import io.netty.handler.codec.mqtt.MqttQoS;
import lombok.Getter;
import lombok.Setter;

/**
 * 订阅者信息
 */
@Getter
@Setter
public class Subscriber {
    /**
     * 等级
     */
    private MqttQoS qos;
    /**
     * 客户端id
     */
    private String clientID;

    public Subscriber(MqttQoS qos, String clientID) {
        this.qos = qos;
        this.clientID = clientID;
    }
}
